DX11 GET OBJECT BOUNDING BOX

Retrieves the (local) bounding box of the given object.
The coordinates, which are relative to the pivot point of the object, are filled out to two VECTOR3 instances.

  Syntax
DX11 GET OBJECT BOUNDING BOX object, minVector, maxVector, [absolute]
  Parameters
object
Dword
The object to get the bounding box corner coordinates of.
minVector
Dword
A vector3 that will be filled out with the minimum XYZ coordinates of the bounding box.
maxVector
Dword
A vector3 that will be filled out with the maximum XYZ coordinates of the bounding box.
[Optional] absolute
Boolean
Set to true to apply the object's current world transform to the vectors, resulting in absolute values that take rotation and scaling into account. Defaults to false.

  Returns

This function does not return a value.

  See also

OBJECT Functions Menu
DX11 Function Categories